<script setup></script>

<template>
  <div class="titlebox">
    <div class="title">铸造</div>
  </div>
</template>

<style scoped>
.titlebox {
  position: absolute;
  width: 343px;
  height: 40px;
  left: 15px;
  top: 600px;

  background: #7342ff;
  border-radius: 20px;
}
.title {
  position: absolute;
  width: 28px;
  height: 20px;
  left: calc(50% - 28px / 2 + 0.5px);
  top: calc(50% - 20px / 2);
  font-family: "PingFang SC";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  /* identical to box height */
  text-align: center;
  color: #ffffff;
}
</style>
